<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('offeringReceipt')} > ${i18n.getMessage('searchResult')}">
	<a href="#" onclick="cc('receipt/showSearchOfferingReceipt.sgt')">${i18n.getMessage('search')}</a>
</@showTitle>

<br/>

<@display.table id="listTable" name="receipts" sort="list" defaultorder="descending" defaultsort="2" pagesize="20">
	<@display.column title="${i18n.getMessage('number')}" style="text-align:center"><a href="#" onclick="cc('receipt/showInfoOfferingReceipt.sgt?id=${listTable.id}')"><#if (listTable.number)?has_content>${(listTable.number)!}<#else>None</#if></a></@display.column>
	<@display.column title="${i18n.getMessage('date')}" property="date" format="{0,date,${i18n.getMessage('format.date')}}" sortable="true" style="text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('startDate')}" property="offering.startDate" format="{0,date,${i18n.getMessage('format.date')}}" sortable="true" style="text-align:center"></@display.column>
	<@display.column title="${i18n.getMessage('firstName')}" property="student.firstName" href="student/showInfoStudent.sgt" paramId="id" paramProperty="student.id" sortable="true"></@display.column>
	<@display.column title="${i18n.getMessage('lastName')}" property="student.lastName" sortable="true"></@display.column>
	<@display.column title="${i18n.getMessage('offering')}" property="offering.name" href="offering/showInfoOffering.sgt" paramId="id" paramProperty="offering.id" sortable="true"></@display.column>
	<@display.column title="${i18n.getMessage('fee')} (${i18n.getMessage('currency.vnd')})" property="fee.amount" format="{0, number, 0}" sortable="true" style="text-align:right"></@display.column>
</@display.table>

<br><br>

